package com.ikingtech.framework.sdk.organization.model;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author yang
 */
@Data
@Schema(name = "OrganizationUserDTO", description = "组织人员列表")
public class OrganizationUserDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 3803303946481143939L;

    @Schema(name = "userId", description = "用户编号")
    private String userId;

    @Schema(name = "name", description = "姓名")
    private String name;

    @Schema(name = "phone", description = "手机号")
    private String phone;

    @Schema(name = "email", description = "邮箱")
    private String email;

    @Schema(name = "postsNames", description = "岗位名称")
    private List<String> postsNames;

    @Schema(name = "departments", description = "用户所属部门列表")
    private List<String> departments;

}
